package guitforl.invocation

/**
 * Created by IntelliJ IDEA.
 * User: artem
 * Date: Jul 3, 2010
 * Time: 10:55:03 PM
 * To change this template use File | Settings | File Templates.
 */

class UserProcess(private val exeName: String) {
	def callWithParam(params: List[String]){    
		val process = Runtime.getRuntime.exec((exeName::params).mkString(" "))
		process.waitFor
		process.destroy
	}
}